package bb.lanxing.lib.devices.sgsettingentity.notification;

//import com.igexin.push.core.b;
//import com.umeng.analytics.pro.z;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

public final class NotificationSettings {
    private String device_model;
    private Notification notification;
    private String sn;
    private Integer updated_at;
    private User user;
    private String version;

    public static /* synthetic */ NotificationSettings copy$default(NotificationSettings notificationSettings, String str, Notification notification, String str2, Integer num, User user, String str3, int i, Object obj) {
        if ((i & 1) != 0) {
            str = notificationSettings.device_model;
        }
        if ((i & 2) != 0) {
            notification = notificationSettings.notification;
        }
        Notification notification2 = notification;
        if ((i & 4) != 0) {
            str2 = notificationSettings.sn;
        }
        String str4 = str2;
        if ((i & 8) != 0) {
            num = notificationSettings.updated_at;
        }
        Integer num2 = num;
        if ((i & 16) != 0) {
            user = notificationSettings.user;
        }
        User user2 = user;
        if ((i & 32) != 0) {
            str3 = notificationSettings.version;
        }
        return notificationSettings.copy(str, notification2, str4, num2, user2, str3);
    }

    public final String component1() {
        return this.device_model;
    }

    public final Notification component2() {
        return this.notification;
    }

    public final String component3() {
        return this.sn;
    }

    public final Integer component4() {
        return this.updated_at;
    }

    public final User component5() {
        return this.user;
    }

    public final String component6() {
        return this.version;
    }

    public final NotificationSettings copy(String str, Notification notification, String str2, Integer num, User user, String str3) {
        return new NotificationSettings(str, notification, str2, num, user, str3);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof NotificationSettings)) {
            return false;
        }
        NotificationSettings notificationSettings = (NotificationSettings) obj;
        return Intrinsics.areEqual(this.device_model, notificationSettings.device_model) && Intrinsics.areEqual(this.notification, notificationSettings.notification) && Intrinsics.areEqual(this.sn, notificationSettings.sn) && Intrinsics.areEqual(this.updated_at, notificationSettings.updated_at) && Intrinsics.areEqual(this.user, notificationSettings.user) && Intrinsics.areEqual(this.version, notificationSettings.version);
    }

    public int hashCode() {
        String str = this.device_model;
        int i = 0;
        int hashCode = (str == null ? 0 : str.hashCode()) * 31;
        Notification notification = this.notification;
        int hashCode2 = (hashCode + (notification == null ? 0 : notification.hashCode())) * 31;
        String str2 = this.sn;
        int hashCode3 = (hashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31;
        Integer num = this.updated_at;
        int hashCode4 = (hashCode3 + (num == null ? 0 : num.hashCode())) * 31;
        User user = this.user;
        int hashCode5 = (hashCode4 + (user == null ? 0 : user.hashCode())) * 31;
        String str3 = this.version;
        if (str3 != null) {
            i = str3.hashCode();
        }
        return hashCode5 + i;
    }

    public String toString() {
        return "NotificationSettings(device_model=" + this.device_model + ", notification=" + this.notification + ", sn=" + this.sn + ", updated_at=" + this.updated_at + ", user=" + this.user + ", version=" + this.version + ')';
    }

    public NotificationSettings(String str, Notification notification, String str2, Integer num, User user, String str3) {
        this.device_model = str;
        this.notification = notification;
        this.sn = str2;
        this.updated_at = num;
        this.user = user;
        this.version = str3;
    }

    public final String getDevice_model() {
        return this.device_model;
    }

    public final void setDevice_model(String str) {
        this.device_model = str;
    }

    public final Notification getNotification() {
        return this.notification;
    }

    public final void setNotification(Notification notification) {
        this.notification = notification;
    }

    public final String getSn() {
        return this.sn;
    }

    public final void setSn(String str) {
        this.sn = str;
    }

    public final Integer getUpdated_at() {
        return this.updated_at;
    }

    public final void setUpdated_at(Integer num) {
        this.updated_at = num;
    }

    public final User getUser() {
        return this.user;
    }

    public final void setUser(User user) {
        this.user = user;
    }

    public final String getVersion() {
        return this.version;
    }

    public final void setVersion(String str) {
        this.version = str;
    }
}
